package com.cards_game.common;

import java.io.PrintWriter;
import java.io.StringWriter;

public class CommonUtils {

	public static String getExceptionMessage(Throwable e){
		StringWriter writer = new StringWriter();
		PrintWriter printWriter = new PrintWriter(writer);
		e.printStackTrace(printWriter);
		return writer.toString();
	}
	
}
